<template>
	<view class="flex justify-between align-center FlowBox">
		<view class="FBoxItem flex justify-center text-center" v-for="(item,index) in flowList" :key="index">
			<image :src="`/static/flow${item.value}.png`" mode="widthFix" class="Img"></image>
			<view class="text">{{item.label}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				flowList:[{
					value:1,
					label:'入场'
				},{
					value:2,
					label:'开工'
				},{
					value:3,
					label:'作业监督'
				},{
					value:4,
					label:'验收'
				},{
					value:5,
					label:'评价'
				}]
			};
		},
		name: 'flow',
		props: {
			flowType: {
				type: [Boolean, String],
				default: false
			},
		}
	}
</script>

<style scoped lang="scss">
	.FlowBox{
		.FBoxItem{
			flex-direction: column;
			.Img{
				width: 33upx;
				margin: 0 auto;
			}
			.text{
				color: #666;
				font-weight:600;
				margin-top: 10upx;
				font-size: 24upx;
			}
		}
	}
</style>
